package com.ustc.minidaoexample.dao;

import org.jeecgframework.minidao.annotation.Arguments;
import org.jeecgframework.minidao.annotation.Sql;
import org.springframework.stereotype.Repository;

import com.ustc.minidaoexample.entity.User;


@Repository
public interface UserDao {
	
	@Arguments("user")
	void insert(User user);
	
	@Arguments("user")
	void update(User user);
	
	@Sql("select count(*) from t_user")
	Integer getCount();
}
